Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.dam.layouts--layouts

This contribution is part of XML component org.nuxeo.dam.layouts inside nuxeo-dam-jsf-5.8.jar

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="gridDamLayout">
          <templates>
            <template mode="any">
              /layouts/layout_grid_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <properties mode="any">
                <property name="nxl_gridStyleClass_0">gridStyle2 compactLayout nxDamSearchForm</property>
                <property name="nxl_gridStyleClass_1">gridStyle6 nxDamSearchResults</property>
                <property name="nxl_gridStyleClass_2">gridStyle4 compactLayout nxDamAssetView</property>
              </properties>
              <widget>damPanelLeft</widget>
              <widget>damPanelCenter</widget>
              <widget>damPanelRight</widget>
            </row>
          </rows>
        </layout>
  • <layout name="gridDamSingleAssetLayout">
          <templates>
            <template mode="any">
              /layouts/layout_grid_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <properties mode="any">
                <property name="nxl_gridStyleClass_0">gridStyle7 nxDamSingleAssetLeft</property>
                <property name="nxl_gridStyleClass_1">gridStyle5 compactLayout nxDamSingleAssetRight</property>
              </properties>
              <widget>damSingleAssetPanelLeft</widget>
              <widget>damSingleAssetPanelRight</widget>
            </row>
          </rows>
        </layout>
  • <layout name="dam_common">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>damc_author</widget>
            </row>
            <row>
              <widget>damc_authoringDate</widget>
            </row>
          </rows>
        </layout>
  • <layout name="damListingMetadata@view">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>damc_author</widget>
            </row>
            <row>
              <widget>damc_authoringDate</widget>
            </row>
          </rows>
        </layout>
  • <layout name="damBulkImport@create">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>damc_authoringDate</widget>
            </row>
            <row>
              <widget>damc_author</widget>
            </row>
            <row>
              <widget>subjects</widget>
            </row>
            <row>
              <widget>coverage</widget>
            </row>
            <row>
              <widget>source</widget>
            </row>
          </rows>
        </layout>
  • <layout name="damBulkEdit@edit">
          <templates>
            <template mode="any">/layouts/layout_bulkedit_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>dam_edit_tags</widget>
            </row>
            <row>
              <widget>damc_author</widget>
            </row>
            <row>
              <widget>damc_authoringDate</widget>
            </row>
            <row>
              <widget>subjects</widget>
            </row>
            <row>
              <widget>coverage</widget>
            </row>
          </rows>
        </layout>
  • <layout name="ip_rights">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>media_type</widget>
            </row>
            <row>
              <widget>geo_broadcast</widget>
            </row>
            <row>
              <widget>copyright_holder</widget>
            </row>
            <row>
              <widget>licence</widget>
            </row>
            <row>
              <widget>embargo_date</widget>
            </row>
            <row>
              <widget>expiration_date</widget>
            </row>
          </rows>
    
          <widget name="media_type" type="selectOneDirectory">
            <translated>true</translated>
            <fields>
              <field>ipr:media_type</field>
            </fields>
            <properties widgetMode="any">
              <property name="directoryName">dam_media_type</property>
              <property name="localize">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="ordering">label</property>
              <property name="cssStyleClass">dataInputText</property>
            </properties>
          </widget>
          <widget name="geo_broadcast" type="selectOneDirectory">
            <translated>true</translated>
            <fields>
              <field>ipr:geo_broadcast</field>
            </fields>
            <properties widgetMode="any">
              <property name="directoryName">dam_geo_broadcast</property>
              <property name="localize">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="ordering">label</property>
              <property name="cssStyleClass">dataInputText</property>
            </properties>
          </widget>
          <widget name="copyright_holder" type="text">
            <translated>true</translated>
            <fields>
              <field>ipr:copyright_holder</field>
            </fields>
            <properties widgetMode="edit">
              <property name="styleClass">dataInputText</property>
            </properties>
          </widget>
    
          <widget name="licence" type="selectOneDirectory">
            <translated>true</translated>
            <fields>
              <field>ipr:licence</field>
            </fields>
            <properties widgetMode="any">
              <property name="directoryName">dam_licence</property>
              <property name="localize">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="ordering">label</property>
              <property name="cssStyleClass">dataInputText</property>
            </properties>
          </widget>
    
          <widget name="embargo_date" type="datetime">
            <translated>true</translated>
            <fields>
              <field>ipr:embargo_date</field>
            </fields>
            <properties widgetMode="view">
              <property name="pattern">#{nxu:basicDateFormater()}</property>
            </properties>
            <properties widgetMode="edit">
              <property name="format">#{nxu:basicDateFormater()}</property>
              <property name="styleClass">dataInputTextDate</property>
            </properties>
          </widget>
          <widget name="expiration_date" type="datetime">
            <translated>true</translated>
            <fields>
              <field>ipr:expiration_date</field>
            </fields>
            <properties widgetMode="view">
              <property name="pattern">#{nxu:basicDateFormater()}</property>
            </properties>
            <properties widgetMode="edit">
              <property name="format">#{nxu:basicDateFormater()}</property>
              <property name="styleClass">dataInputTextDate</property>
            </properties>
          </widget>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <layout name="gridDamLayout">
      <templates>
        <template mode="any">
          /layouts/layout_grid_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <properties mode="any">
            <property name="nxl_gridStyleClass_0">gridStyle2 compactLayout nxDamSearchForm</property>
            <property name="nxl_gridStyleClass_1">gridStyle6 nxDamSearchResults</property>
            <property name="nxl_gridStyleClass_2">gridStyle4 compactLayout nxDamAssetView</property>
          </properties>
          <widget>damPanelLeft</widget>
          <widget>damPanelCenter</widget>
          <widget>damPanelRight</widget>
        </row>
      </rows>
    </layout>

    <layout name="gridDamSingleAssetLayout">
      <templates>
        <template mode="any">
          /layouts/layout_grid_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <properties mode="any">
            <property name="nxl_gridStyleClass_0">gridStyle7 nxDamSingleAssetLeft</property>
            <property name="nxl_gridStyleClass_1">gridStyle5 compactLayout nxDamSingleAssetRight</property>
          </properties>
          <widget>damSingleAssetPanelLeft</widget>
          <widget>damSingleAssetPanelRight</widget>
        </row>
      </rows>
    </layout>

    <layout name="dam_common">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>damc_author</widget>
        </row>
        <row>
          <widget>damc_authoringDate</widget>
        </row>
      </rows>
    </layout>

    <layout name="damListingMetadata@view">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>damc_author</widget>
        </row>
        <row>
          <widget>damc_authoringDate</widget>
        </row>
      </rows>
    </layout>

    <layout name="damBulkImport@create">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>damc_authoringDate</widget>
        </row>
        <row>
          <widget>damc_author</widget>
        </row>
        <row>
          <widget>subjects</widget>
        </row>
        <row>
          <widget>coverage</widget>
        </row>
        <row>
          <widget>source</widget>
        </row>
      </rows>
    </layout>

    <layout name="damBulkEdit@edit">
      <templates>
        <template mode="any">/layouts/layout_bulkedit_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>dam_edit_tags</widget>
        </row>
        <row>
          <widget>damc_author</widget>
        </row>
        <row>
          <widget>damc_authoringDate</widget>
        </row>
        <row>
          <widget>subjects</widget>
        </row>
        <row>
          <widget>coverage</widget>
        </row>
      </rows>
    </layout>

    <layout name="ip_rights">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>media_type</widget>
        </row>
        <row>
          <widget>geo_broadcast</widget>
        </row>
        <row>
          <widget>copyright_holder</widget>
        </row>
        <row>
          <widget>licence</widget>
        </row>
        <row>
          <widget>embargo_date</widget>
        </row>
        <row>
          <widget>expiration_date</widget>
        </row>
      </rows>

      <widget name="media_type" type="selectOneDirectory">
        <translated>true</translated>
        <fields>
          <field>ipr:media_type</field>
        </fields>
        <properties widgetMode="any">
          <property name="directoryName">dam_media_type</property>
          <property name="localize">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="ordering">label</property>
          <property name="cssStyleClass">dataInputText</property>
        </properties>
      </widget>
      <widget name="geo_broadcast" type="selectOneDirectory">
        <translated>true</translated>
        <fields>
          <field>ipr:geo_broadcast</field>
        </fields>
        <properties widgetMode="any">
          <property name="directoryName">dam_geo_broadcast</property>
          <property name="localize">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="ordering">label</property>
          <property name="cssStyleClass">dataInputText</property>
        </properties>
      </widget>
      <widget name="copyright_holder" type="text">
        <translated>true</translated>
        <fields>
          <field>ipr:copyright_holder</field>
        </fields>
        <properties widgetMode="edit">
          <property name="styleClass">dataInputText</property>
        </properties>
      </widget>

      <widget name="licence" type="selectOneDirectory">
        <translated>true</translated>
        <fields>
          <field>ipr:licence</field>
        </fields>
        <properties widgetMode="any">
          <property name="directoryName">dam_licence</property>
          <property name="localize">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="ordering">label</property>
          <property name="cssStyleClass">dataInputText</property>
        </properties>
      </widget>

      <widget name="embargo_date" type="datetime">
        <translated>true</translated>
        <fields>
          <field>ipr:embargo_date</field>
        </fields>
        <properties widgetMode="view">
          <property name="pattern">#{nxu:basicDateFormater()}</property>
        </properties>
        <properties widgetMode="edit">
          <property name="format">#{nxu:basicDateFormater()}</property>
          <property name="styleClass">dataInputTextDate</property>
        </properties>
      </widget>
      <widget name="expiration_date" type="datetime">
        <translated>true</translated>
        <fields>
          <field>ipr:expiration_date</field>
        </fields>
        <properties widgetMode="view">
          <property name="pattern">#{nxu:basicDateFormater()}</property>
        </properties>
        <properties widgetMode="edit">
          <property name="format">#{nxu:basicDateFormater()}</property>
          <property name="styleClass">dataInputTextDate</property>
        </properties>
      </widget>
    </layout>

  </extension>